package com.framework.loippi.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * Entity - 物流表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_LOGISTICS")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="物流表",description="物流表")
public class TLogistics implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/**  */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "")
	private Long id;
	
	/** 是否删除(0否,1是) */
	@Column(name = "is_delete" )
	@ApiModelProperty(value = "是否删除(0否,1是)")
	private Integer isDelete;
	
	/** 订单id */
	@Column(name = "order_id" )
	@ApiModelProperty(value = "订单id")
	private Long orderId;
	
	/** 物流信息 */
	@Column(name = "content" )
	@ApiModelProperty(value = "物流信息")
	private String content;

	/** 物流状态*/
	@Column(name = "logistics_state" )
	@ApiModelProperty(value = "物流状态")
	private Integer logisticsState;

	/** 物流编号*/
	@Column(name = "logistics_num" )
	@ApiModelProperty(value = "物流编号")
	private String logisticsNum;

	/** 运费*/
	@Column(name = "fee" )
	@ApiModelProperty(value = "运费")
	private BigDecimal fee;

	/** 物流名称*/
	@Column(name = "logistics_name" )
	@ApiModelProperty(value = "物流名称")
	private String logisticsName;

	/** 创建时间 */
	@Column(name = "create_time" )
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	
	/** 修改时间 */
	@Column(name = "update_time" )
	@ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;

	/** 订单 */
	private TOrder order;
	
}
